export default [
  {
    path: '/movies',
    component: () => import('@/views/Movies'),
    redirect: '/movies/nowPlaying',
    children: [
      {
        path: '/movies/nowPlaying',
        component: () => import('@/views/Movies/nowPlaying.vue'),
        keepAlive: true
      },
      {
        path: '/movies/comingSoon',
        component: () => import('@/views/Movies/comingSoon.vue'),
        keepAlive: true
      }
    ]
  }
]
